﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student : Person
    {
        public string major;
        public int grade;
       
        public void Aa(int grade,string major) {
            this.grade = grade;
            this.major = major;
          
        }
        public void Aa() { 
              Console.WriteLine("编号{0},姓名{1},性别{2},身份证{3},电话号码{4},我的年级{5},我的专业{6}",this.id, this.name, this.sex, this.cardid, this.tel, this.grade, this.major);
        }
    }
}
